@import '~antd/es/style/variable.less';
@import './assets/fonts/font.css';
html,
body,
#root {
  height: 100%;
}
.buttonMargin{
  margin: 0 8px;
}
.ant-table {
  border: 1px solid #f6f6f6;
  margin-top: 10px;
}
.colorWeak {
  filter: invert(80%);
}
.shadow{box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;}
.ant-pro-global-header-logo a img{width: auto}
.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  font-family: "Microsoft Yahei"!important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  .ant-pro-layout-header{
    background-color: #103289 !important;
  }
  header h1{
    color: white !important;
  }
  .ant-pro-global-header-right-content span{
    color: white !important;
  }
  .ant-btn-primary.ant-btn-lg{
    background-color: #103289 !important;
    color: white !important;
  }
  .ant-pro-global-header-layout-mix {
    background-color: #103289 !important;
  }

}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}





@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

